<div class="row-fluid">
    <div class="head-outer">
        <?php echo $this->element('top');?>
        <div class="row-fluid">
            <div class="span3 header-left">
                <?php
                    if(!empty($banner)){
                ?>
                    <a href="<?php echo DOMAIN;?>">
                        <?php if(get_extension($banner['Extention']['images']) == "swf") { ?>
                            <embed src="<?php echo SWF_URL.$banner['Extention']['images']; ?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="0" height="150" scale="ExactFit"> </embed>
                        <?php } else { ?>
                            <img src="<?php echo IMG_URL.$banner['Extention']['images']; ?>" style="width: 100%; height: 150px;"/>
                        <?php } ?>
                    </a>
                <?php }?>
            </div>
            <div class="span6 header-center">
                <?php
                    if(!empty($bannercenter)){
                ?>
                    <a href="<?php echo DOMAIN;?>">
                        <?php if(get_extension($bannercenter['Extention']['images']) == "swf") { ?>
                            <embed src="<?php echo SWF_URL.$bannercenter['Extention']['images']; ?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="0" height="150" scale="ExactFit"> </embed>
                        <?php } else { ?>
                            <img src="<?php echo IMG_URL.$bannercenter['Extention']['images']; ?>" style="width: 100%; height: 150px;"/>
                        <?php } ?>
                    </a>
                <?php }?>
            </div>
            <div class="span3 header-right">
                <?php
                    if(!empty($bannerright)){
                ?>
                    <a href="<?php echo DOMAIN;?>">
                        <?php if(get_extension($bannerright['Extention']['images']) == "swf") { ?>
                            <embed src="<?php echo SWF_URL.$bannerright['Extention']['images']; ?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="0" height="150" scale="ExactFit"> </embed>
                        <?php } else { ?>
                            <img src="<?php echo IMG_URL.$bannerright['Extention']['images']; ?>" style="width: 100%; height: 150px;"/>
                        <?php } ?>
                    </a>
                <?php }?>
            </div>
        </div>

        <div class="clear-main"></div>
        <div class="box-menu">
            <div class="span3 fix-menu-left">
                <a href="<?php echo DOMAIN;?>" title="Trang chủ">
                    <p>Trang chủ</p>
                </a>
            </div>
            <div class="span9 fix-menu-right">
                <h2>Sản phẩm thiết kế</h2>
                <div class="box-menu-thiet-ke">
                    <?php echo $this->element('menu');?>
                    <div class="clear-main"></div>
                </div>
            </div>
            <div class="clear-main"></div>
        </div><!--end box-menu-->
    </div><!--end head-outer-->
</div>